package com.jzo2o.customer.controller.agency;


import com.jzo2o.customer.model.dto.response.AgencyCertificationAuditResDTO;
import com.jzo2o.customer.service.IAgencyCertificationService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 机构认证信息表 前端控制器
 * </p>
 *
 * @author author
 * @since 2024-12-03
 */
@RestController
@RequestMapping("/agency-certification")
@Api(tags = "机构认证申请")
public class AgencyCertificationController {

    @Autowired
    private IAgencyCertificationService agencyCertificationService;

    @PostMapping
    @ApiOperation("机构认证申请")
    public void application(@RequestBody AgencyCertificationAuditResDTO dto){
        agencyCertificationService.application(dto);
    }
}
